package com.zxl.always.on.display.model;

import com.zxl.always.on.display.R;
import com.zxl.always.on.display.model.bean.PaletteItem;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2018/3/2.
 */

public class PaletteSet {

    public static final int[] BG_RESOURCE_ARRAYS = {-1, R.drawable.aod_wallpaper_01, R.drawable.aod_wallpaper_02, R.drawable.aod_wallpaper_03,
            R.drawable.aod_wallpaper_04, R.drawable.aod_wallpaper_05, R.drawable.aod_wallpaper_06, R.drawable.aod_wallpaper_07, R.drawable.aod_wallpaper_08};

    public static final int[] BG_PREVIEW_RESOURCE_ARRAYS = {-1, R.drawable.aod_wallpaper_01_preview, R.drawable.aod_wallpaper_02_preview, R.drawable.aod_wallpaper_03_preview,
            R.drawable.aod_wallpaper_04_preview, R.drawable.aod_wallpaper_05_preview, R.drawable.aod_wallpaper_06_preview, R.drawable.aod_wallpaper_07_preview, R.drawable.aod_wallpaper_08_preview};

    private static  List<PaletteItem> sPaletteList;

    public static List<PaletteItem> getPaletteItems() {
        if (null == sPaletteList) {
            List<PaletteItem> list = new ArrayList<>();
            list.add(new PaletteItem(-3355444));
            list.add(new PaletteItem(-1002670));
            list.add(new PaletteItem(-1021591));
            list.add(new PaletteItem(-1014090));
            list.add(new PaletteItem(-3698980));
            list.add(new PaletteItem(-8674320));
            list.add(new PaletteItem(-6894499));
            list.add(new PaletteItem(-10564424));
            list.add(new PaletteItem(-12338705));
            list.add(new PaletteItem(new int[]{-7219984, -1003064, -4853539}, new float[]{0.0F, 0.5F, 1.0F}));
            list.add(new PaletteItem(new int[]{-7479381, -993416, -1005909}, new float[]{0.1F, 0.5F, 0.9F}));
            list.add(new PaletteItem(new int[]{-997463, -992828, -7093008}, new float[]{0.0F, 0.3F, 1.0F}));
            sPaletteList = list;
        }
        return sPaletteList;
    }




}
